package com.blrs.domain;

import com.blrs.common.annotation.Excel;
import com.blrs.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 首页信息服务对象 info_index
 * 
 * @author ruoyi
 * @date 2024-05-07
 */
public class InfoIndex extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 信息id */
    @Excel(name = "信息id")
    private String infoId;

    /** 标题名称 */
    @Excel(name = "标题名称")
    private String titleName;

    /** 组织机构名称(发送方) */
    @Excel(name = "组织机构名称(发送方)")
    private String orgName;

    /** 组织机构id(发送方) */
    @Excel(name = "组织机构id(发送方)")
    private Long orgId;

    /** 信息类型 */
    @Excel(name = "信息类型")
    private String infoType;

    /**
     * 是否收藏
     * @param id
     */
    private String isCollection;

    /**
     * 路由地址
     * @return
     */
    private String route;

    /**
     * 菜单id
     * @return
     */
    private Long menuId;

    /**
     * 角色id
     * @return
     */
    private Long roleId;

    /**
     * 发送方式
     * @return
     */
    private String sendType;

    public String getSendType() {
        return sendType;
    }

    public void setSendType(String sendType) {
        this.sendType = sendType;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getMenuId() {
        return menuId;
    }

    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    public String getRoute() {
        return route;
    }

    public void setRoute(String route) {
        this.route = route;
    }

    public String getIsCollection() {
        return isCollection;
    }

    public void setIsCollection(String isCollection) {
        this.isCollection = isCollection;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInfoId(String infoId) 
    {
        this.infoId = infoId;
    }

    public String getInfoId() 
    {
        return infoId;
    }
    public void setTitleName(String titleName) 
    {
        this.titleName = titleName;
    }

    public String getTitleName() 
    {
        return titleName;
    }
    public void setOrgName(String orgName) 
    {
        this.orgName = orgName;
    }

    public String getOrgName() 
    {
        return orgName;
    }
    public void setOrgId(Long orgId) 
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }
    public void setInfoType(String infoType) 
    {
        this.infoType = infoType;
    }

    public String getInfoType() 
    {
        return infoType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("infoId", getInfoId())
            .append("titleName", getTitleName())
            .append("orgName", getOrgName())
            .append("orgId", getOrgId())
            .append("infoType", getInfoType())
            .append("createTime", getCreateTime())
            .toString();
    }
}
